const BASE = '/api';

let apiGroup = {
    URL:'/api',

    // 获取logo
    getLogo:`${BASE}/Index/getLogo`,

    // 用户信息
    userInfo:`${BASE}/user/UserInfo`,
    userJudge:`${BASE}/user/UserJudge`,
    userCode:`${BASE}/user/getCode`,

    //首页
    mainSliders:`${BASE}/slides/slidesList/`,
    homeFive:`${BASE}/babel/babelList/`,
    userShow:`${BASE}/order/findOrderIndex`,
    creditsUserShow:`${BASE}/order/findOrderIntegral/`,
    classifyLabel:`${BASE}/theme/themeList/`,

    //分类
    classifyList:`${BASE}/category/categoryPid`,
    classifyDetail:`${BASE}/category/categoryList/`,
    classifySearch:`${BASE}/category/categorySelect/`,
    classifyGoods:`${BASE}/category/categoryAllGoods/`,

    //地址管理
    addressList:`${BASE}/address/addressList`,
    addressEdit:`${BASE}/address/updateAddress`,
    addressAdd:`${BASE}/address/saveAddress`,
    addressDelete:`${BASE}/address/delAddress/`,

    //搜索
    search:`${BASE}/category/categorySelect`,

    //商品评价
    saveComment:`${BASE}/comment/saveComment`,          //22
    showComment:`${BASE}/comment/findCommentAll/`,

    // 商品详情页
    productContent:`${BASE}/goods/goodsInfo/`,
    productSlider:`${BASE}/goods/goodsImage/`,
    productDes:`${BASE}/goods/goodsProperty/`,
    addToStore:`${BASE}/cart/addCart`,

    //收藏
    collectList:`${BASE}/collection/CollectionList`,
    collectDel:`${BASE}/collection/delCollection/`,
    collectAdd:`${BASE}/collection/addCollection/`,     //22

    //购物车
    shoppingList:`${BASE}/cart/CartList/`,
    shoppingAdd:`${BASE}/cart/addCart`,
    shoppingDel:`${BASE}/cart/delCart/`,

    //订单
    orderList:`${BASE}/order/findOrderList`,
    orderStatus:`${BASE}/order/findUnpaidList/`,
    remindDeliver:`${BASE}/order/remind`,
    exchange:`${BASE}/order/refundable`,
    configGet:`${BASE}/order/deliverGoods`,       //22
    orderExpress:`${BASE}/order/express`,
    orderDetail:`${BASE}/order/findDetailList`,
    cancelOrder:`${BASE}/order/cancelGoods`,

    //分销
    distributionOrNot:`${BASE}/distributor/JudgeDistributor`,
    distributionMoney:`${BASE}/distributor/DistributorCore/`,
    teamLv2:`${BASE}/distributor/secondLevel/`,
    teamLv3:`${BASE}/distributor/ThreeLevel/`,
    commissionDetail:`${BASE}/distributor/CommissionsRecord/`,
    commissionMsg:`${BASE}/distributor/MessageNotificationDetails/`,
    moneyList:`${BASE}/distributor/DistributorPutsForward/`,
    getMoney:`${BASE}/distributor/DistributorPutsForward`,
    commentList:`${BASE}/distributor/MessageNotification/`,
    getMoneyList:`${BASE}/distributor/PutsForwardRecord/`,

    // 会员卡
    cardsDetail:`${BASE}/member/cardInfo`,
    memberPriviledge:`${BASE}/member/gradeInfoList`,
    memberRule:`${BASE}/member/rulesInfoList`,

    // 个人中心
    getCode:`${BASE}/member/getCode`,
    member:`${BASE}/member/judge`,
    registerMember:`${BASE}/member/apply`,
    registerDis:`${BASE}/distributor/DistributorApply`,

    // 活动
    eggRule:`${BASE}/game/gameList`,
    eggHited:`${BASE}/game/gameWeight`,
    eggAward:`${BASE}/game/gameWinnin/`,
    eggAwardAll:`${BASE}/game/allGameWinn/`,
    nineRule:`${BASE}/activity/activityList`,
    nineHited:`${BASE}/activity/activityWeight`,
    nineAward:`${BASE}/activity/activityWinnin/`,
    nineAwardAll:`${BASE}/activity/allactivityWinnin/`,
    getEggAward:`${BASE}/game/changeGameStatus`,
    getNineAward:`${BASE}/activity/changeActivityStatus`,

    // 优惠券
    ticketList:`${BASE}/coiling/coilingList`,
    ticketUseless:`${BASE}/coiling/BeOverdueCoilingList`,
    getTickets:`${BASE}/coiling/AllCoilingList`,
    receiveTicket:`${BASE}/coiling/ReceiveCoiling`,

    // 创建订单及付款
    createOrder:`${BASE}/order/placeorder`,
    createOrderCredits:`${BASE}/order/placeOrderIntegral`,
    orderPay:`${BASE}/order/findOrderInfo`,
    payment:`${BASE}/order/Paymentsuccess`,

    // 第三方对接
    getWxInfo:`${BASE}/user/check`
}

export default apiGroup;